import Vue from "vue";
import VueRouter from "vue-router";
// import HomeView from "../views/HomeView.vue";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "demo_1",
    component: () => import("../views/demo_1.vue"),
  },
  {
    path: "/demo_1",
    name: "demo_1",
    component: () => import("../views/demo_1.vue"),
  },
  {
    path: "/demo_2",
    name: "demo_2",
    component: () => import("../views/demo_2.vue"),
  },
  {
    path: "/demo_3",
    name: "demo_3",
    component: () => import("../views/demo_3.vue"),
  },
  {
    path: "/demo_4",
    name: "demo_4",
    component: () => import("../views/demo_4.vue"),
  },
  {
    path: "/demo_5",
    name: "demo_5",
    component: () => import("../views/demo_5.vue"),
  },
  {
    path: "/demo_6",
    name: "demo_6",
    component: () => import("../views/demo_6.vue"),
  },
  {
    path: "/demo_7",
    name: "demo_7",
    component: () => import("../views/demo_7.vue"),
  },
  {
    path: "/demo_8",
    name: "demo_8",
    component: () => import("../views/demo_8.vue"),
  },
  {
    path: "/demo_9",
    name: "demo_9",
    component: () => import("../views/demo_9.vue"),
  },
  {
    path: "/demo_10",
    name: "demo_10",
    component: () => import("../views/demo_10.vue"),
  },
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
